package com.mf.all.entity.req.basic;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * @Author: lmf
 * @Create: 2025/4/4 14:33
 * @module 角色绑定权限
 */
@Data
public class ReqPermissionByRole {
    @Schema(description = "角色id")
    @NotNull(message = "角色id不能为空")
    private Integer roleId;
    @Schema(description = "权限id集合")
    private List<Integer> permissionIds;
}
